<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<!-- v-bind 用来动态绑定属性 mustache动态绑定文本 -->
<body>
    <div id="hello">
        <img v-bind:src="imgsrc">
        <!-- 语法糖写法 -->
        <a :href="ahref">v-bind=""</a>
    </div>
    <script src="../vue.js"></script>
    <script>
        const vue01 = new Vue({
            el: '#hello',
            data: {
                imgsrc:"https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=1603365312,3218205429&fm=26&gp=0.jpg",
                ahref:"https://www.bilibili.com/video/BV15741177Eh?p=15",
            }
        })
    </script>
</body>

</html>